local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
L0_1 = {}
L0_1.group_id = 133225059
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 59001
L2_1.gadget_id = 70290159
L3_1 = {}
L3_1.x = -6265.558
L3_1.y = 219.564
L3_1.z = -2958.381
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 358.974
L3_1.y = 198.377
L3_1.z = 356.098
L2_1.rot = L3_1
L2_1.level = 33
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 59003
L3_1.gadget_id = 70290159
L4_1 = {}
L4_1.x = -6268.369
L4_1.y = 222.711
L4_1.z = -2908.482
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 354.697
L4_1.y = 242.649
L4_1.z = 354.346
L3_1.rot = L4_1
L3_1.level = 33
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 59004
L4_1.gadget_id = 70290159
L5_1 = {}
L5_1.x = -6297.803
L5_1.y = 216.801
L5_1.z = -2909.359
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 354.544
L5_1.y = 131.319
L5_1.z = 355.667
L4_1.rot = L5_1
L4_1.level = 33
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 59005
L5_1.gadget_id = 70290159
L6_1 = {}
L6_1.x = -6257.632
L6_1.y = 227.461
L6_1.z = -2951.242
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 338.659
L6_1.y = 238.02
L6_1.z = 343.473
L5_1.rot = L6_1
L5_1.level = 33
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.persistent = true
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 59007
L6_1.gadget_id = 70290159
L7_1 = {}
L7_1.x = -6246.343
L7_1.y = 233.846
L7_1.z = -2936.665
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 5.007
L7_1.y = 0.0
L7_1.z = 348.948
L6_1.rot = L7_1
L6_1.level = 33
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 59009
L7_1.gadget_id = 70290159
L8_1 = {}
L8_1.x = -6229.646
L8_1.y = 237.881
L8_1.z = -2940.427
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 353.052
L8_1.y = 263.82
L8_1.z = 10.145
L7_1.rot = L8_1
L7_1.level = 33
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 59010
L8_1.gadget_id = 70290159
L9_1 = {}
L9_1.x = -6265.963
L9_1.y = 226.029
L9_1.z = -2935.095
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 3.97
L9_1.y = 186.702
L9_1.z = 327.821
L8_1.rot = L9_1
L8_1.level = 33
L9_1 = GadgetState
L9_1 = L9_1.GearStart
L8_1.state = L9_1
L8_1.persistent = true
L8_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1059008
L2_1.name = "QUEST_FINISH_59008"
L3_1 = EventType
L3_1 = L3_1.EVENT_QUEST_FINISH
L2_1.event = L3_1
L2_1.source = "7217230"
L2_1.condition = ""
L2_1.action = "action_EVENT_QUEST_FINISH_59008"
L2_1.trigger_count = 0
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 59002
L3_1.gadget_id = 70290159
L4_1 = {}
L4_1.x = -6260.857
L4_1.y = 229.028
L4_1.z = -2935.673
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 353.337
L4_1.y = 226.493
L4_1.z = 356.041
L3_1.rot = L4_1
L3_1.level = 33
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 59006
L4_1.gadget_id = 70290159
L5_1 = {}
L5_1.x = -6249.952
L5_1.y = 231.703
L5_1.z = -2951.841
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 350.388
L5_1.y = 336.487
L5_1.z = 4.155
L4_1.rot = L5_1
L4_1.level = 33
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 59012
L5_1.gadget_id = 70290159
L6_1 = {}
L6_1.x = -6280.666
L6_1.y = 222.492
L6_1.z = -2947.838
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.persistent = true
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 59013
L6_1.gadget_id = 70290159
L7_1 = {}
L7_1.x = -6265.074
L7_1.y = 223.547
L7_1.z = -2950.138
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 4.404
L7_1.y = 28.758
L7_1.z = 348.146
L6_1.rot = L7_1
L6_1.level = 33
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 59014
L7_1.gadget_id = 70290159
L8_1 = {}
L8_1.x = -6238.406
L8_1.y = 239.374
L8_1.z = -2929.238
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 208.502
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 33
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 18
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L1_1.gadgets = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 59001
L5_1 = 59003
L6_1 = 59004
L7_1 = 59005
L8_1 = 59007
L9_1 = 59009
L10_1 = 59010
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "QUEST_FINISH_59008"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
  L2_2 = pairs
  L3_2 = gadgets
  L2_2, L3_2, L4_2 = L2_2(L3_2)
  for L5_2, L6_2 in L2_2, L3_2, L4_2 do
    L7_2 = ScriptLib
    L7_2 = L7_2.SetGroupGadgetStateByConfigId
    L8_2 = A0_2
    L9_2 = 133225059
    L10_2 = L6_2.config_id
    L11_2 = 0
    L7_2(L8_2, L9_2, L10_2, L11_2)
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_QUEST_FINISH_59008 = L1_1
